<div class="bjui-pageContent">
    <form action="{:U('add')}" class="pageForm" data-toggle="validate" method="post">
        
        <table class="table table-condensed table-hover">
            <tbody>
                <tr>
                    <td colspan="2" align="center"><h3>添加颜色规格</h3></td>
                </tr>
                <tr>
                    <td>
                        <label for="j_dialog_title" class="control-label x90">颜色名称：</label>
                        <input type="text" name="color_name"  value="{$info.color_name}" data-rule="required" size="20">
                    </td>
                    <td>
                        <label for="j_dialog_title" class="control-label x90">颜色代码：</label>
                        <input type="text" name="color_num"  value="{$info.color_num}" data-rule="required" size="20">
                    </td>
                </tr>
                <tr>
				<td colspan="2">
                    <label for="j_custom_color" class="control-label x85">颜色选择：</label>
                        <input type="text" name="color_code" id="j_custom_color" value="" data-toggle="colorpicker" data-bgcolor="true" size="15" readonly>
                        <a href="javascript:;" title="清除颜色" data-toggle="clearcolor" data-target="#j_custom_color">清除颜色</a>
				</td>
				</tr>
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close">关闭</button></li>
        <li><button type="submit" class="btn-default">保存</button></li>
    </ul>
</div>